/*****************************************************************************************
 * FILE NAME: srv_contactor                       COPYRIGHT (c) cos 2024
 * REVISION:  1.0.0                                     All Rights Reserved
 * DESCRIPTION:
 * =======================================================================================
 * UPDATE HISTORY:
 * REV      AUTHOR      DATE
 * v1.0.0   Tuxin       2024.10.14
 * DESCRIPTION OF CHANGE:
 ****************************************************************************************/
#ifndef __SRV_CONTACTOR_H
#define __SRV_CONTACTOR_H

//----------------------------------------------------------------------------------------
// @Project Includes
#include "typedefs.h"

//----------------------------------------------------------------------------------------
// @Global Macro Define in the module
							
//----------------------------------------------------------------------------------------
// @Global Type defines in the module
typedef enum en_contactor_id
{
    CNT_DSG  = 0,
    CNT_CHG  = 1,
    CNT_PCHG = 2,
	  CNT_PDSG = 3,
	  CNT_OUT  = 4,
    CNT_ALL  = 5
} en_contactor_id_t;	

//----------------------------------------------------------------------------------------
// @Export global Variables declare in the module

//----------------------------------------------------------------------------------------
// @Export declaration of functions in the module
void srv_contactor_ctl(const en_contactor_id_t cnt_id, const uint8_t enable);
bool_t srv_contactor_getState(const en_contactor_id_t cnt_id);

#endif

// =======================================================================================
// End of file.
// =======================================================================================
